package cn.gqr.entity;

public class BlogConTypeUser {

    private Blog blog;
    private Content content;
    private Type type;
    private User user;

    public BlogConTypeUser() {
    }

    public BlogConTypeUser(Blog blog, Content content, Type type, User user) {
        this.blog = blog;
        this.content = content;
        this.type = type;
        this.user = user;
    }

    public Blog getBlog() {
        return blog;
    }

    public void setBlog(Blog blog) {
        this.blog = blog;
    }

    public Content getContent() {
        return content;
    }

    public void setContent(Content content) {
        this.content = content;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "BlogConTypeUser{" +
                "blog=" + blog +
                ", content=" + content +
                ", type=" + type +
                ", user=" + user +
                '}';
    }
}
